package com.xaslsoft.xaslsoft.device.net;

import cn.hutool.socket.nio.NioClient;

import java.io.IOException;
import java.nio.channels.SocketChannel;
import java.util.HashMap;
import java.util.Map;

public interface IDataHandler {

	 Map<String, SocketChannel> SOCKET_CHANNELS = new HashMap<>();
	void onReceive(SocketChannel socketChannel, String hex) throws IOException;
}
